package com.yh.csx.crm.service.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * CustomerResp class
 *
 * @author huyalin
 * @date 2019/2/27
 */
@Data
public class CustomerListResp {
    private Long id;

    @ApiModelProperty("客户号(SAP)")
    private String customerNumber;

    @ApiModelProperty("客户名称")
    private String customerName;

    @ApiModelProperty("公司代码")
    private String companyCode;

    @ApiModelProperty("合作模式")
    private String cooperationMode;

    @ApiModelProperty("所属业务")
    private String salesUserName;

    @ApiModelProperty("信控额度")
    private BigDecimal creditLimit;

    @ApiModelProperty("临时信控额度")
    private BigDecimal tempCreditLimit;

    @ApiModelProperty("总信控额度")
    private BigDecimal totalCreditLimit;

    @ApiModelProperty("状态")
    private String customerStatus;

    @ApiModelProperty("同步状态")
    private Boolean syncFlag;

    @ApiModelProperty("有效状态")
    private Boolean activeFlag;

    @ApiModelProperty("申请人")
    private String createBy;

    @ApiModelProperty("最后更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date updateTime;

}
